<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/common_head.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/jsp/common/common_script.jsp"%>
<title>黄石物流后台管理系统</title>
</head>
<script src="${ctx}/js/system/sensitivity.js"></script>
<script type="text/javascript">
$(function(){
	
	$.extend($.fn.validatebox.defaults.rules, {  
	    maxLength: {  
	        validator: function(value, param){  
	            return value.length <= param[0];  
	        },  
	        message: '最大{0}字，请确认 '  
	    } 
	}); 
});
</script>
<body>
<table id="sensitivityGrid"></table>

<div id="addDlg" class="easyui-window" title="" closed="true" iconCls="icon-save" style="width:350px; height:280px;text-align:center; background: #fafafa;">
		<div class="easyui-layout" fit="true">
			<div region="center" border="false" style="background:#fff;border:1px solid #ccc;padding-left: 30px;">
				<form id="addForm"  method="POST" style="width:280px;height:170px; text-align: center;">
					<table border="0" class="queryTable" width="280px" height="170px" style="margin-bottom: 0px" >
						<tr>
							<td class="queryTitle" width="80px">敏感词</td>
							<td class="queryContent" >
								<input type="hidden" id="submitType" />
								<input type="hidden" id="sensitivityId" name = "sensitivityId" />
								<input type="text" id="search" name="search" style="width: 135px;" class="inputText easyui-validatebox" required="true"  maxlength="255"/>
							</td>
						</tr>
						<tr>
							<td class="queryTitle" width="80px">替换字符</td>
							<td class="queryContent">
								<input type="text" id="replacement" name="replacement" style="width: 135px;" class="inputText easyui-validatebox" required="true"  maxlength="255" />
							</td>
						</tr>
					</table>
				</form>
			</div>
			<div region="south" border="false" style="text-align:center;height:30px;line-height:30px;">
				<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doPostData()">确定</a>
				<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelPostData()">取消</a>
			</div>
		</div>

</div>
</body>